# syntax=docker/dockerfile:1

FROM python:3.8-slim-buster

WORKDIR /app
EXPOSE 8000

COPY requirements.txt .
RUN pip3 install -r requirements.txt -i http://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com

COPY . .

CMD [ "python3", "manage.py" , "runserver", "0.0.0.0:8000"]